<!doctype html>
<title>EOF while parsing an entity</title>
<script>
if (window.testRunner)
    testRunner.dumpAsText();
</script>
<p>It should say "&amp;PASS" below:
<p>&PASS
